package com.exam.service;

import com.exam.pojo.entity.Department;
import com.exam.pojo.mode.DepartVo;
import com.exam.pojo.mode.DepartmentVo;

import java.util.List;

public interface DepartmentService {

    List<DepartmentVo> findAllList();

    List<DepartVo> listDepartVo(int page, int size);

    void addDepartment(Department department);

    void delDepartment(Integer departmentId);

    void delAllDepartment(List<Integer> departmentIdList);

    List<DepartVo> findDepartmentByName(String name);

    void editDepartment(Department department);
}
